package com.itheima.dao.impl;

import com.itheima.dao.UserDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Component("userDao")
public class UserDaoImpl implements UserDao {

    @Value("哈哈")
    private String name;
    @Value("拉稀")
    private String word;
    @Value("超级拉稀")
    private String drive;


    @Override
    public void save() {
        System.out.println("userDao IS  RUNNING..."+name+" "+word+" "+drive);
    }
}
